import Mock from 'mockjs';
import banner from './banner.json';
import floor from './floor.json';

// 模拟轮播图数据
Mock.mock('http://www.1010.com/banner', 'get', {
  code: 200,
  message: '成功',
  ok: true,
  data: banner
});

// 模拟楼层数据
Mock.mock('http://www.1010.com/floor', 'get', {
  code: 200,
  message: '成功',
  ok: true,
  data: floor
});

